(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  this.LibraryLayoutView = (function(_super) {

    __extends(LibraryLayoutView, _super);

    function LibraryLayoutView() {
      return LibraryLayoutView.__super__.constructor.apply(this, arguments);
    }

    LibraryLayoutView.prototype.el = $("#content");

    LibraryLayoutView.prototype.initialize = function() {
      var main;
      main = $("#main");
      if (main === null || main.length === 0) {
        return this.render();
      }
    };

    LibraryLayoutView.prototype.render = function() {
      var alphabet, model, view;
      $(this.el).append("<nav id='authors'></nav><div id='main'></div><nav id='categories'></nav>");
      alphabet = new AlphabetView({
        el: $("#authors")
      });
      model = new CategoryNavigationModel();
      return view = new CategoryNavigationView({
        model: model,
        el: $("#categories")
      });
    };

    return LibraryLayoutView;

  })(Backbone.View);

}).call(this);
